diamond number pattern in python